package com.iman.sumer.service.teamgroup;

import java.util.List;
import java.util.Map;

import com.iman.common.support.Page;
import com.iman.sumer.vo.teamgroup.GroupTopicVo;

public interface GroupTopicService {
	/**
	 * 群组话题列表
	 * @return
	 */
	public Page<GroupTopicVo> getGroupTopicList(Map<String, Object> params);
	
	/**
	 * 没有分页的话题列表
	 * @param params
	 * @return
	 */
	public List<Map> getGroupTopicListNoPage(Map<String, Object> params);
	/**
	 * 群组话题
	 * @param careerid
	 */
	public Map getGroupTopicByID(Map params);
	/**
	 * 增加群组话题信息
	 * @param careerid
	 */
	public void addGroupTopic (Map<String, Object> params);
	
	
	/**
	 * 按照创建时间，取前三个话题
	 * @param params
	 * @return
	 */
	public List<Map> getGroupTopicListTop3(Map<String, Object> params);
	/**
	 * 删除群组话题
	 * @param params
	 */
	public void deleteTopic(Map params);
	/**
	 * 更新群组话题
	 * @param params
	 */
	public void updateTopic(Map params);
	
	public void updateTopicView(Map params);
}
